home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / hdwreg.doc < prev    next >
Text File  |  1995-03-31  |  3KB  |  72 lines

  1. Hp48sx Hardware Registers Document v1.0 
  2. From: js12@uk.ac.cam.phx (Julian Taplin) 
  3. Newsgroups: comp.sources.hp48 
  4. Date: 26 Aug 91 00:14:18 GMT 
  5.  
  6.     This is my list of hardware registers on the HP48, and their uses. It is 
  7. not by any means complete, but is the best I can manage, compiled from various 
  8. documents and source codes obtained from seq.uncwil.edu... If anybody else has 
  9. a more complete list, please post it. 
  10.  
  11.   
  12.   #00100h: bits 0-1 control the 4 pixel offset of the display.  Useful for 
  13.            smooth scrolling.  Bit 2 is also involved here but messes up the 
  14.            scan length.  Bit 3 seems to put the machine into a coma 
  15.   #00101h: LSBs of the 5 bit contrast control word. 
  16.   #00102h: bit 0 is the MSB of the contrast.  Bits 1 and 3 control the 
  17.            voltage difference across the LCD; this is what you modified. 
  18.            Can't see what bit 2 does. 
  19.   #00103h: bit 3 is also involved in the LCD voltage control. 
  20.   
  21.   #0010Bh: bit 0,1,2,3: \<-, \->, alpha, and alarm indicators 
  22.   #0010Ch: bit 0,1: busy and I/O indicators; bit 3 must be set for the 
  23.            indicators to be on. 
  24.   #0010Dh, #0010Eh, #0010Fh: 11bit register for baud rate: 
  25.  
  26.     #600    9600 
  27.     #400    4800 
  28.     #200    2400 
  29.     #000    1200 
  30.  
  31.   #00110h:    R/W    UINTR - UART Interrupt Register: 
  32.  
  33.     Bit 3: Recv Interrupt flag 
  34.     Bit 2: Recv Interrupt Enable 
  35.     Bit 1: XMit interrupt flag 
  36.     Bit 0: XMit Interrupt Enable 
  37.  
  38.   #00112h: USTAT: Flag register for uart: Bit 1 RECV Ready, 0 = XMit ready 
  39.  
  40.  
  41.   #00114h, #00115h: RECV - UART reciever. Reading gets most recent IO 
  42.         character recieved 
  43.  
  44.  
  45.   #00116h, #00117h: XMit - Uart transmitter register - Writing causes serial 
  46.         sending to active IO Port 
  47.   
  48.   #0011Ah: Bit 3 is trigger bit of I.R. Diode - Latched, so 
  49.        you have to reset it all the time if sampling from IR. Also contains 
  50.        IR Control Bits, but I dunno what they do exactly 
  51.  
  52.   #0011Ch: Bit 3 = I.R. Led Control 
  53.  
  54.   #00120h - #00124h: display address base register.  Ususally set to #F097Ch 
  55.            (or #F09BC with the equation card installed) but you can change it, 
  56.            to look at any memory you want.  Note that you can't read this 
  57.            register, just write to it.  Remember to type addresses in 
  58.            backwards. 
  59.   #00125h - #00127: amount of overscan per pixel line 
  60.   #00128h : offset to menu area bitmap, normally 7. 
  61.   #00129h : bits 0-1 control the location of the menu area, normally 3.  Don't 
  62.            mess with bit 2, which can totally remap your calculator's display! 
  63.            ON-C does not fix what happens, but turning it off does, strangely 
  64.            enough. 
  65.  
  66.  
  67. ---------------------------------------------------------------------------- 
  68. Julian Taplin                           |Home of <<The Computer Graveyard>>! 
  69. 35 Shelly Garden, CAMBRIDGE, ENGLAND    |Retirement home for all old, tired, 
  70. (0223) 324815                           |and generally dead hardware! 
  71. ---------------------------------------------------------------------------- 
  72.